package handler

const (
	MISSING_PARAMETER int    = 400
	BUSINESS_ERROR    int    = 500
	SUCCEED_CODE      int    = 200
	NOTFOUND_ERROR    int    = 404
	ERROR             string = "error"
	SUCCEED           string = "success"
)

type JSONResp struct {
	FailMsg string      `json:"failMsg"`
	Code    int         `json:"code"`
	Success bool        `json:"success"`
	Result  interface{} `json:"result"`
}
